<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var  myObj = {
        publish: '人民邮电出版社',
        site:'https://www.ptpress.com.cn',
        op: function(){
            document.write('abc');
        }
    }
    console.dir(myObj);
    console.info(myObj);
    console.log(myObj);
    console.table(myObj);

    console.time('tag');
    var sum = 0;
    for(var i=1;i<100000;i++){
        sum += i;
    }
    console.log(sum);
    console.timeEnd('tag');

    console.group('自定义组一');
    // console.groupCollapsed('自定义组一');
    console.log('组1-1');
    console.log('组1-2');
    console.log('组1-3');
    console.groupEnd('自定义组一');

    


</script>
</html>